<template>
    <div>
        <mt-swipe :auto="4000">
            <mt-swipe-item v-for="item in swipes" :key="item.id">
                <img :src="item.url" :alt="item.alt">
            </mt-swipe-item>
        </mt-swipe>
    </div>
</template>

<script>
import { Toast } from 'mint-ui'
export default {
    data() {
        return {
            // swipes:[]
        }
    },
    props: ["swipes"]
}
</script>

<style scoped lang="less">
.mint-swipe{
    height: 240px;

    img{
        width: 100%;
        height: 100%;
    }
}

.mui-grid-view.mui-grid-9{
    background-color: white;
    border:  none;

    .mui-media-body{
        font-size: 13px;
    }
}

.mui-grid-view.mui-grid-9 .mui-table-view-cell{
    border:  none;    
    img{
        width: 60px;
        height: 60px;
    }      
}
</style>